package models

// Xiansuo undefined
type Xiansuo struct {
	ID       int64   `json:"id" gorm:"id"`
	Name     string  `json:"name" gorm:"name"`
	Xiaohao  int64   `json:"xiaohao" gorm:"xiaohao"`
	Xiansuo  int64   `json:"xiansuo" gorm:"xiansuo"`
	Price    float64 `json:"price" gorm:"price"`
	Chengben float64 `json:"chengben" gorm:"chengben"`
	Laiyuan  string  `json:"laiyuan" gorm:"laiyuan"`
	Phone    string  `json:"phone" gorm:"phone"`
}

// TableName 表名称
func (*Xiansuo) TableName() string {
	return "xiansuo"
}

type Logxs struct {
	ID      int64  `json:"id" gorm:"id"`
	Uid     int64  `json:"uid" gorm:"uid"`
	Addtime int64  `json:"addtime" gorm:"addtime"`
	Title   string `json:"title" gorm:"title"`
}

// TableName 表名称
func (*Logxs) TableName() string {
	return "logxs"
}
